﻿using System;
using System.Collections.Generic;
using System.Windows.Forms;

namespace OOMetaExtractor
{
    static class Program
    {
        public static FormPrincipal FormPrincipalInstance;
        public static FormOpciones  FormOpcionesInstance;

        public static void LoadLanguage()
        {
            if (FormPrincipalInstance != null)
                FormPrincipalInstance.LoadLanguage();
            if (FormOpcionesInstance != null)
                FormOpcionesInstance.LoadLanguage();
        }
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            FormPrincipalInstance = new FormPrincipal();
            FormOpcionesInstance  = new FormOpciones();
            LoadLanguage();
            Application.Run(FormPrincipalInstance);
        }
    }
}
